<?php

use App\Models\MaintainInfo;
use Carbon\Carbon;
use Illuminate\Database\Seeder;

class MaintainInfoTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        MaintainInfo::create([
        	'device_code' => '2016100800000001',
        	'customer_name' => 'customer_name',
        	'phone' => 13512345678,
        	'installation_address' => 'installation_address',
        	'component' => 'component',
        	'charge' => 100,
        	'operator' => 'operator',
        	'operator_phone' => 13512345678,
            'maintain_at' => Carbon::now(),
            'reserve_at' => '2016-11-28 8',
            'remark' => 'remark',
        	]);

        MaintainInfo::create([
        	'device_code' => '2016100800000002',
        	'customer_name' => 'customer_name',
        	'phone' => 13512345678,
        	'installation_address' => 'installation_address',
        	'component' => 'component',
        	'charge' => 100,
        	'operator' => 'operator',
        	'operator_phone' => 13512345678,
            'maintain_at' => Carbon::now(),
            'reserve_at' => '2016-11-28 8',
            'remark' => 'remark',
        	]);

        MaintainInfo::create([
        	'device_code' => '2016100800000001',
        	'customer_name' => 'customer_name',
        	'phone' => 13512345678,
        	'installation_address' => 'installation_address',
        	'component' => 'component',
        	'charge' => 100,
        	'operator' => 'operator',
        	'operator_phone' => 13512345678,
            'maintain_at' => Carbon::now(),
            'reserve_at' => '2016-11-28 8',
            'remark' => 'remark',
        	]);
    }
}
